package entity;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class ResponseCode {
    private Integer code;
    private String msg;

    public static final ResponseCode SUCCESS = ResponseCode.builder()
            .code(200)
            .msg("请求成功！")
            .build();
    public static final ResponseCode fail = ResponseCode.builder()
            .code(400)
            .msg("请求失败！请重试")
            .build();
}
